require("GetData/Exec")
require("GetData/Value")
TestBehaviorTree4 = BTBehaviorTree:New()

local this = TestBehaviorTree4
this.name = "TestBehaviorTree4"

function this:New(fileName)
    local o = {}
    setmetatable(o, self)
    self.__index = self
    o:Init(fileName)
    return o
end

function this:Init(fileName)
    local tab=Exec:GetFile(fileName)
    --初始化所有节点和添加子节点
    Value:GetData(tab)

    self:SetStartTask(StartNode)
end